/**
 * Created by mFramework.
 * User: Mauro
 * Date: 27/05/11
 * Time: 11:02
 */
MF.views.Settingscard = Ext.extend(Ext.Panel, {
    title: 'Settings',
    iconCls: 'settings',
    scroll: 'vertical',
    dockedItems: [
        {
            xtype: "toolbar",
            title: "Settings"
        }
    ],
    items: [
        {
            xtype: 'fieldset',
            title: 'Details',
            items: [
                {
                    xtype: 'textfield',
                    name: 'name',
                    label: 'Username'
                },
                {
                    xtype: 'passwordfield',
                    name: 'password',
                    label: 'Password'
                }
            ]
        },
        {
            xtype: 'button',
            text: 'save',
            handler: function() { Ext.Msg.alert('Guardar'); }
        }
    ]
});

Ext.reg('settingscard', MF.views.Settingscard);